import java.util.ArrayList;
import java.util.List;
import java.util.Random;


public class NumberGenerator {

	public NumberGenerator() {
	}
	
	public static List<Integer> generateNumber(int number) {
		List<Integer> numbers = new ArrayList<Integer>();
		Random random = new Random();
		for (int i = 0; i < number; i++) {
			int next = Math.abs(random.nextInt()); 
			while(numbers.contains(next)) {
				next = Math.abs(random.nextInt());
			}
			numbers.add(next);
		}
		return numbers;
	}
}
